package utilities;


public class DatumException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5904970451812513805L;
	private String text;
	public DatumException(String str) {
		text = str;
	}

	public DatumException(Datum arg) {
			this(arg.toString());
	}

	@Override
	public String toString() {
		return " is geen correcte datum! [" + text + "]";
	}
}
